package com.test.objects;

public class Utility {
	public Utility(){
		
	}
	
	public static String printInfoMessage(String msg){
		return "<table cellpadding=\"3\" cellspacing=\"1\" border=\"0\" width=\"100%\" height=500px>" + 
				"<tr class=\"row-title\"><td class=\"header21\" align=left>" + 
				"</td></tr>" + 
				"<tr><td class=\"intd\" align=\"center\" valign=\"top\">" + 
				"" +
				"	<table cellpadding=\"0\" cellspacing=\"1\" border=\"0\" bgcolor=\"#4682B4\"  width=\"350\"><tr><td>" +
				"	<table cellpadding=\"2\" cellspacing=\"0\" border=\"0\" width=\"350\" bgcolor=\"#DBEAF5\">" + 
				"	<tr><td colspan=\"2\">&nbsp;</td></tr>" +
				"	<tr><td align=\"right\" valign=\"center\">" +
				"		<img src=\"./images/common/info.png\" width=24px/>&nbsp;" +
				"	</td><td align=\"left\" valign=\"center\">" +
				"		<font class=\"button\">" + msg + "</font>" +
				"	</td></tr>" +
				"	<tr><td colspan=\"2\">&nbsp;</td></tr>" +
				"	</table>" +
				"	</table><br>" +
				"" + 
				"</td></tr>" +
				"</table>";
	}
	
	public static String printErrorMessage(String msg){
		return "<table cellpadding=\"3\" cellspacing=\"1\" border=\"0\" width=\"100%\" height=500px>" + 
				"<tr class=\"row-title\"><td class=\"header21\" align=left>" + 
				"</td></tr>" + 
				"<tr><td class=\"intd\" align=\"center\" valign=\"top\">" + 
				"" +
				"	<table cellpadding=\"0\" cellspacing=\"1\" border=\"0\" bgcolor=\"#4682B4\"  width=\"350\"><tr><td>" +
				"	<table cellpadding=\"2\" cellspacing=\"0\" border=\"0\" width=\"350\" bgcolor=\"#DBEAF5\">" + 
				"	<tr><td colspan=\"2\">&nbsp;</td></tr>" +
				"	<tr><td align=\"right\" valign=\"center\">" +
				"		<img src=\"./images/common/error.png\" width=24px/>&nbsp;" +
				"	</td><td align=\"left\" valign=\"center\">" +
				"		<font class=\"button\">" + msg + "</font>" +
				"	</td></tr>" +
				"	<tr><td colspan=\"2\">&nbsp;</td></tr>" +
				"	</table>" +
				"	</table><br>" +
				"" + 
				"</td></tr>" +
				"</table>";
	}
	
	public String encrypt(String input){
		return input;
	}
	
	public String decrypt(String input){
		return input;
	}
}
